package com.fg.cloud.manager.entry.agency;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fg.cloud.common.annotation.Column;
import com.fg.cloud.manager.entry.BaseEntity;

/**
 * 经销商用户实体
 * @author around
 * @date 2017-6-21
 */
public class AgencyUserEntity extends BaseEntity {

	private static final long serialVersionUID = 1733777281376428286L;

	/** 厂商ID */
	@Column
	private Long facId;
	
	/** 经销商ID */
	@Column
	private Long ageId;

	/** 用户名 */
    private String userName;

	/** 密码 */
    @JsonIgnore
    private String password;

	/** 状态：1=有效  0=未启用  -1=待审核 */
    private Integer status;

	/** 姓名 */
    private String trueName;

	/** 性别 */
    private Integer sex;

	/** 身份证 */
    private String idCard;

	/** 部门 */
    private String dept;

	/** 电话 */
    private String tel;

	/** 手机 */
    private String phone;

	/** 头像 */
    private String picUrl;

	/** 邮件 */
    private String email;

	/** 经销商价格是否可见：0=不可见，1=可见 */
    private Integer isShowPrice;

	/** 备注 */
    private String remark;

    public Long getFacId() {
        return facId;
    }

    public void setFacId(Long facId) {
        this.facId = facId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getTrueName() {
        return trueName;
    }

    public void setTrueName(String trueName) {
        this.trueName = trueName == null ? null : trueName.trim();
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard == null ? null : idCard.trim();
    }

    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept == null ? null : dept.trim();
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel == null ? null : tel.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getPicUrl() {
        return picUrl;
    }

    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl == null ? null : picUrl.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public Integer getIsShowPrice() {
        return isShowPrice;
    }

    public void setIsShowPrice(Integer isShowPrice) {
        this.isShowPrice = isShowPrice;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

	public Long getAgeId() {
		return ageId;
	}

	public void setAgeId(Long ageId) {
		this.ageId = ageId;
	}

    
}